package DesignPatern.A18_备忘录模式.A02_抽象模式;

/**
 * @Author: Du
 * @Date: 2021/8/3 14:24
 *
 * 状态类
 */
public class Memento
{
    private String state = "";
    
    public Memento(String state)
    {
        this.state = state;
    }
    
    public String getState()
    {
        return state;
    }
    
    public void setState(String state)
    {
        this.state = state;
    }
}
